package com.bilgeadam.generictypes.program;

/**
 *
 * @author Bora SAYINER
 * @since Dec 13, 2014 10:53:26 AM
 * @version 1.0
 */
public class HesapMakinasi<T extends Number> {
	
	private byte x;
	private int y;
	private int z;

	public static <T extends Number> double topla(T x, T y) {
		return (double) (x.doubleValue() + y.doubleValue());
	}
}
